﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Gasco.DataAccess;

namespace Gasco.Business.Services
{
  public interface ILoadingService
   {
       IList<loading> SearchLoading(string keyword, int pageSize, int pageNumber, string sortBy, string sortDirection);
       int CountSearchLoading(string keyword);
       loading CreateLoading(loading l);
       void UpdateLoading(loading l);
       void DeleteLoading(int id);
       loading GetLoading(int id);
       bool CheckQuantity(int orderId);
       float SumLoadingByOrderName(string orderName);
       float SumLoadingByOrderNum(string orderNum);
   }
}
